package com.lin.mapper;

import com.lin.entity.Comments;
import com.lin.entity.User;
import com.lin.entity.dto.CommentDTO;
import com.lin.entity.vo.CommentVO;
import org.apache.ibatis.annotations.Mapper;
import org.jdom2.Comment;

import java.util.List;
@Mapper
public interface BmsCommentMapper {

    /**
     * getCommentsByTopicID
     *
     * @param dynamicid
     * @return
     */
    //获得帖子评论下的所有id
    List<CommentVO> getCommentsByTopicID(Integer dynamicid);
    /**
     * getCommentsByTopicID
     *
     * @param
     * @return
     */
    void createcomment(Comments comment);
}
